package com.appkubes.fintech.admin.application.order.entity.dto;


import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

import lombok.*;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 还款单
 *
 * @author xqc.
 * @date 2020/01/04 23:48:56
 */

@Data
public class RentRepayOrderDTO {

    private Integer periodType;
    private String billNO;
    private String rentType;
    @ApiModelProperty(name = "还款单")
    private String repayKey;
    @ApiModelProperty(name = "用户ID")
    private String userKey;
    @ApiModelProperty(name = "还款单号")
    private String billKey;
    @ApiModelProperty(name = "还款期数，多个逗号隔开")
    private String linePeriods;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(name = "支付时间")
    private Date payTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(name = "还款时间")
    private Date reapayTime;
    @ApiModelProperty(name = "姓名")
    private String userName;
    @ApiModelProperty(name = "外部通道流水号")
    private String payTradeNo;
    @ApiModelProperty(name = "还款金额")
    private Integer payAmt;
    @ApiModelProperty(name = "还款方式 01支付宝 02微信")
    private String payType;
    @ApiModelProperty(name = "状态 00未支付 01支付成功 02还款成功 03支付失败 04 还款失败")
    private String status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(name = "创建时间")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(name = "更新时间")
    private Date updateTime;
    @ApiModelProperty(name = "还款返回消息")
    private String retRepayMsg;
    @ApiModelProperty(name = "支付返回的消息")
    private String retPayMsg;


}
